import Layout from "@/layout"
const myRouter = {
    path: '/my',
    component: Layout,
    redirect: '/my/myOrder',
    alwaysShow: true,
    meta: {
        title: '我的',
        icon: 'payment',
    },
    // children的 会嵌套在Layout里面的<router-view>中
    children: [
        {
            path: 'myOrder',
            component: () => import('@/views/my/myOrder'),
            name: '我的订单',
            meta: {
                title: '我的订单'
            }
        },
    ]
}
export default myRouter
